package com.hjp.designmode.strategy.domain;

/**
 * @Description: 商品
 * @Author: huangjp6
 * @Date: 2022/3/7 14:24
 */
public abstract class Goods {
    /**
     * 原始价格
     */
    private double originalPrice;
    /**
     * 当前价格
     */
    private double currPrice;
    private int weight;
    private double discount;

    public Goods() {
    }


    public double getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(double originalPrice) {
        this.originalPrice = originalPrice;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public double getDiscount() {
        return discount;
    }

    public void setDiscount(double discount) {
        this.discount = discount;
    }

    public double getCurrPrice() {
        return currPrice;
    }

    public void setCurrPrice(double currPrice) {
        this.currPrice = currPrice;
    }


}
